<!---
@自动生成 BY Kupe框架 www.kupebank.com
#date : 2017-10-27 10:09:14
#path : app/template/admin/develop.add.html
--->
<style>
.__status__{
	display:none;
}
</style>
<form class="layui-form" action="" style="padding:10px;width:450px;">
  <div class="layui-form-item">
    <label class="layui-form-label">模块名称</label>
    <div class="layui-input-block">
      <input type="text" name="name" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">唯一标识</label>
    <div class="layui-input-block">
      <input type="text" name="module" required  lay-verify="required" placeholder="请输入唯一标识,必须不重复" autocomplete="off" class="layui-input">
    </div>
  </div>


  
  
  <div class="layui-form-item">
    <label class="layui-form-label">是否开启</label>
    <div class="layui-input-block">
      <input type="checkbox" name="status" value=1 checked lay-skin="switch">
    </div>
  </div>
  <!----
  <div class="layui-form-item">
    <label class="layui-form-label">是否开启</label>
    <div class="layui-input-block">
      
	  <input type="radio" name="status" value="0" title="关闭">
      <input type="radio" name="status" value="1" title="开启" checked>
	   {html_radios value='开启' options=array('开启','关闭') name="status"}
	 

	 
    </div>
  </div>
 --->
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">模块简介</label>
    <div class="layui-input-block">
      <textarea name="desc" placeholder="请输入模块简介" class="layui-textarea"></textarea>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">作者</label>
    <div class="layui-input-block">
      <input type="text" name="auth" value="边缘狂人" required  lay-verify="required" placeholder="请输入作者" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">     排序 </label>
    <div class="layui-input-block">
      <input type="text" name="porder" value="{$porder}" required  lay-verify="number" placeholder="请输入作者" autocomplete="off" class="layui-input">
    </div>
  </div>



  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
 
<script>
formSubmit('{_url m="doadd"}','formDemo','url:{_url m='index' ajax=1}');
</script>